home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 8 / Mac Magazin and MacEasy Magazine CD - Issue 08.iso / Sharewarebibliothek / Updater⁄Infos / Frontier 2.0 => 2.0.1 Upgrader / Install Files / DocServer Docs / table.move < prev    next >
Text File  |  1993-02-25  |  1KB  |  17 lines

  1.  
  2. Verb    table.move
  3. Syntax    table.move (addr1, addr2)
  4. Parameters    addr1 is the Object Database address indicating the location of the object to be moved.
  5. addr2 is the Object Database address of a table where the object at addr1 is to be moved.
  6. Action    Moves the object at addr1 to the table at addr2.
  7. Returns    True
  8. Examples    The examples table contains a table called table1 with four entries: a string, a number, a script, and an outline. It also has an empty table called table2. The following line moves the outline from table1 into table2:
  9.     table.move (@examples.table1.entry4, @examples.table2)
  10.         » true
  11. Select table2 in the table window and you’ll see that it now has one item. Open it and you’ll see that its one item is called entry4 and that it has the same contents as examples.table1.entry4. Open table1 and you’ll notice that there is no “entry4.”
  12. Errors    • Attempting to move an object to a non-existent addr2 results in an error.
  13. • If addr2 contains any object other than a table, an error message is generated.
  14. See Also    table.copy
  15. table.moveAndRename
  16. table.moveContents
  17.